package com.easyaop.asm.bytecode.asm.methodvisitor;

import com.easyaop.asm.bytecode.MethodInfo;
import lombok.Getter;
import org.objectweb.asm.MethodVisitor;


public class DefaultMethodVisitorCompile implements MethodVisitorCompile {

    private MethodVisitorCompile methodVisitorCompile;
    @Getter
    private MethodInfo methodInfo;

    public DefaultMethodVisitorCompile(MethodVisitorCompile methodVisitorCompile, MethodInfo methodInfo) {
        this.methodVisitorCompile = methodVisitorCompile;
        this.methodInfo = methodInfo;
    }

    @Override
    public void execute(MethodVisitor methodVisitor) {
        methodVisitorCompile.execute(methodVisitor);
    }
}
